package com.tps;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

@RefreshScope
@EnableHystrix
@EnableFeignClients
@EnableEurekaClient
@EnableSwagger2Doc
@SpringBootApplication
public class ErpGoodsServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ErpGoodsServerApplication.class, args);
    }
}
